function handleInclude (element: any) {
  const result: string[] = []
  let valArr = []
  if (element.fieldType === 'text') {
    valArr = element.filterValue.split('&^&')
  } else {
    valArr = element.filterValue.split(',')
  }
  valArr.forEach(item => {
    result.push(`${element.businessId}.indexOf(${item}) > -1`)
  })
  return result.join('||')
}
export function handledata (data) {
  const arr: any = []
  data.forEach(element => {
    if (element.filterType === 1) {
      arr.push(handleInclude(element))
    }
  });
  return arr
}
